package com.powernode.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.powernode.pojo.DailyReport;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;


@Mapper
public interface DailyReportMapper extends BaseMapper<DailyReport> {


    public void deletes(Integer[] ids);

    public int count(Map<String, Object> param);

    public List<DailyReport> selectPageResult(Map<String, Object> param);

    public DailyReport selectById(Integer id);

    public void updateTodayReport(DailyReport dailyReport);

    public DailyReport selectReportToday(String worker_id);
}
